keystonejs/keystone — pull request #628 by alanshaw (2014-09-12 11:15:55+00:00)
Title: Use mv module to rename files across devices

I've been getting an [EXDEV](http://stackoverflow.com/questions/21071303/node-js-exdev-rename-error) error when trying to move the tmp file to the destination folder due to /tmp being on a different device to the destination. This PR simply adds the `mv` module and drops it in place of `fs.rename`.