Cleaned up with JSHint

I used [JSHint](http://jshint.com/) to look for potential sources of bugs. I ran `jshint .`, and only two warnings were found!

* `err` conflicted with another `err` object in the same scope
* forgotten semicolon when `mv` is exported.

Now node-mv passes JSHint linting!