fs: Add File::options()
assoc function to mimic std
#5869
Merged
File::options()
assoc function to mimic std
#5869