fs: fix hasOwnProperty issue for readStream/writeStream options