Fix configFolder expansion.
Fixes #75.