allow moving across filesystems Use FileUtils instead of renameTo. Also calculate size before moving.