Pass bytes to NamedTemporaryFile.write()
Pass bytes to NamedTemporaryFile.write()

In Python 3, this function takes bytes as an input.

Change-Id: I45faa50c4796605885489c9003a1b23b0f0b3080

varunarya10/python-heatclient,openstack/python-heatclient,tcpcloud/python-heatclient,metacloud/python-heatclient,jasondunsmore/python-heatclient,metacloud/python-heatclient,rdo-management/python-heatclient,varunarya10/python-heatclient,ecerulm/python-heatclient,jasondunsmore/python-heatclient,ecerulm/python-heatclient,tcpcloud/python-heatclient,rdo-management/python-heatclient