Fixed a bug in which the output file would be garbaged if one of the
arguments was smaller then the placeholder.