Use fixed-width format specifiers in serializeStructToString