Replace print statement with print function

Use the python3-style print function. Just because.
Print errors to stderr

Because linux.
Return appropriate exit status

Returning the appropriate exit status from your CLI tools makes
scripting, especially in *nix, much easier.  Non-zero means error. Check
out your local `sysexits.h` for more.