fs: fix fs.readFileSync fd leak when get RangeError
doc: document arguments for 'error' event on a stream

Fixes #6361.
Merge remote-tracking branch 'upstream/v0.10' into v0.10