test: fix flaky test-fs-write
Attempt to fix https://github.com/nodejs/node/issues/18371
cc @BridgeAR will need the OS type to run stress test to reproduce
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines