add fs stub for commonjs