Fix FS_Rename failing to rename file because directory doesn't exist