fs: check start option more strict in createWriteStream
Use checkPosition
function to check the start
option that passed into fs.createWriteStream
more strictly, and be the same as the start
option that passed into fs.createReadStream
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines