[refs #2] Ensuring python 3 compatability