python3 compat (via 2to3)
Print function file selection compat for 2.7
Merge pull request #1 from tea-dragon/master

python 3 compatability