Wrap the fprintf calls into something consistent. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>