Fixing remote_file path.