Allow folder names with spaces

As PerLindenAddiva pointed out in issue #2 this will fail if you have space in folder name.