Copy/remove when rename fails do because of EXDEV, fixes #605.
CS.
Merge branch 'rewrite' of github.com:bower/bower into rewrite