lib: convert to arrow function in fs.js
As far as I look, there are no this
reference in the converted functions.
Named functions like function tick
and function oncomplete
are left untouched to preserve stack traces.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines