Fixed bug with printf interpreting gem instructions as printf arguments instead.