Rename with file level locks bugfix