Convert print to use () syntax instead of spaces for py3 support
Migrated from getopt to optparse