Fix a couple of format specifiers in exception strings