Adds '__future__' imports to make Python 2.7 code more compatible with Python 3.