Fix missing path shell escaping

This fixes issue #45.