give Stats class its own file
WriteStream: fix handling of flags to match fs
readFile: support blob encoding
1.1.0