Quote path before passing them to command

Fix #335