Update sfo.py

Make sure all the print functions are in the Python 3 style.