Process glob pattern args correctly on unix

Fixes #4