Fix reading versions from cache directory.

When we write into directory we use encodeURIComponent, but when we read, we did nothing. Now we use decodeURIComponent to read the correct version and match the correct cache directory.

Actually, all tag containing a "+" (example "v1.2.11-build.2185+sha.4f735b0") are not correctly read from cache.

Fix #1075