Fix "one hash required" exception

This can happen when the string which is passed to printf as a first
argument contains a pattern like %{...} and ruby wants to interpolate
it with the keys/values of a seond hash argument to printf. print is
the better method anyway, if no formatting should be performed.