Move cachePath attribute to the correct location. Fixes #12.