disambiguated the argument filename (now filepath) of api.client.upload_media