Strip extra whitespace from output
Merge pull request #40 from pathawks/strip-whitespace