Merge pull request #2 from dfries/master

add rename to allow js-git to move complete files into place