Fix EXDEV error when using renameSync to move
Merge pull request #2140 from bootstraponline/exdev

Fix EXDEV error when using renameSync to move