fixed a bug to make it work with Node.js v0.10.10
Merge pull request #1 from blub0hr/master

FileCache file write fixed for Node.js v0.10.1