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.
Merge pull request #1 from flori/fix-one-hash-required

Fix "one hash required" exception