Process glob pattern args correctly on unix

Fixes #4
Fixed encoding to `"utf8"` (no dash).