Fixes issue 299 on Windows by reducing length of cache filenames