sbin/hammer: Change fprintf (without exit) to err variants