Fixed error when loading folders with ' characters.
Closes #3.