Rename all file_* functions, which were actually path-related functions, to path_*