replace print statement with print function
cleanup version_string formatting
fix python3 encoding changes
workaroung missing cmp