Fixed issue when rootDir contains spaces.
Merge pull request #15 from jyggen/patch-1

Fixed issue when rootDir contains spaces.