Add percent escapes before changing path to NSURL.
Fix incorrect argument indexes for FSE_RENAME.