OSSAPI add put_object_from_bytes method to support python3.