midiogre: simplify string length inforcement