Use glob module for pattern support in CLI

Fixes #85.

/cc @XhmikosR for testing on Windows