Started work on native_filebuf class