If temp directory is on a different partition than the destination, rename will fail.

Perform a FileUtils.mv that will handle this case properly.