convert io:format/2 calls to ?CONSOLE for consistency