Python2 to Python3 conversion using 2to3

This enables pyicloud to be used with Python3.
Thanks for your work!