Added more PrimitiveArrayBuffer implementations
Implemented FileOutputStream and writing with FileStream
Various other changes/fixes