Cleanup print

It should be printed error to stderr. This is Unix way.
Printing to stdout  should be replaced C function to Ruby method.