Fix for a bug introduced with the rename_to option for the move_file action.