Correcting spaces in output file

Signed-off-by: Gaurav <ga286@cornell.edu>