I have tried using the path to a file as the upload_stream as well as opening the file to use the contents. Using the path returns an ID and URL but they lead to a null (File does not exist) exception. Using the contents of the file result in "'utf8' codec can't decode byte 0xff in position 0: invalid start byte".