* Change iteritems to items
* Use six.string_types instead of basestring
* Use open instead of file
* encode to utf-8 before writing to file in tests
* fix minor relative import in mistralclient.utils
Also, this is blocking the port of Heat to use Python 3.
Change-Id: Ie82975482754246d9761dd2cf9693fb852024a9b