Fix failing null-byte case in PhantomJS for fs.truncate. Fixes #117
Merge pull request #118 from humphd/issue117

Fix failing null-byte case in PhantomJS for fs.truncate. Fixes #117