implement write func in OssStorageFile class

wrap in StringIO