Fix non-literal format string warnings