Tested and fixed on 0.10.33

With this change, tests passed with node 0.10.33.
At least in the master version, assertEncoding is only called in writeFileSync: https://github.com/joyent/node/blob/912b5e05811fd24f09f9d65200a1561a4482f166/lib/fs.js