Fixed `fraction` option being ignored (issue #2)

Some trailing spaces were automatically removed in the process. Script fails when fraction is set to 1.0.
Merge pull request #4 from figure002/issue-2

Fixed `fraction` option being ignored (issue #2)