Fixes for string issues that occur in powershell 3.0. Fixes #13.