CORE-3963: inherit permissions when files are moved into a directory with the inherit bit set