Move vim_fname from misc1 to os/fs.
Rename vim_fexists to file_exists.
Remove misuse of mch_getperm.
Add unit tests for file_exists.