Changed special char test file to something cloneable on Windows.
Fixed trailing space not being trimmed on Windows.
Merge pull request #297 from freezy/winfix

Fixes for Windows