Update utils.js

Should have never worked... - rename to renameSync