Support paths containing spaces (Fix #5)

Based on @iw-kuchin's fix