Support paths containing spaces (Fix #6)

Based on @iw-kuchin's fix