title: Problem uploading an sklearn model to S3 bucket using s3fs
body: <p>I am trying to upload an SVR model (created with sklearn) to S3 bucket using s3fs, but I get an error saying "TypeError: a bytes-like object is required, not 'SVR'". Can anyone suggest how to transform SVR into the right format?</p>
  
  <p>My code is </p>
  
  <pre><code>model = SVR_model
  
  fs = s3fs.S3FileSystem()
  with fs.open('s3://bucket/SVR_model', 'wb') as f:
      f.write(model)
  </code></pre>