New methods for write sheets

Add the mode 'w' for write,  new method includes write_rows and save.