Trailing slash fix

The trailing slash should is added also to cache_dir
Merge pull request #132 from rainphp/trailing_slash_path

Trailing slash fix