Fix #339 - fs.rename tests fail on the browser
Merge pull request #341 from gideonthomas/issue339

Fix #339 - fs.rename tests fail on the browser