doc: refactor fs docs structure
Makes a fairly radical update to the fs
module documentation, splitting the three api flavors into distinct sections, moving the promise APIs up to the top, and updating the examples to use ESM syntax. This is done to put emphasis on the ESM and Promise model. The example snippets are also set up with metadata in preparation for #37162
@nodejs/documentation