Fix path caching with directories
Bump version to 1.0.2