Fix a bug that can't trim white space on OS X

Replace \s with [:space:] so OS X sed can't use PCRE style like '\s'.
Merge pull request #3 from yasuyk/fix-bug-on-os-x

Fix a bug that can't trim white space on OS X