Work around buggy %a in snprintf on MinGW32.