Now put_object only take a file like object