Fix writing to stdout (extraneous space)