Update fs-ext.js

Move utilities