toy implementation of File::write(is_insert == false), added basic File::write tests, fixed File::File(mode == rw) file init behavior