Use fl_access for testing file existence instead system 'access' (for handling UTF-8 filenames).