add methods for Buffered Writer

should always recreate the imports yourself