Create write_empty_file helper function in file_path.c