Added a Method to remove illegal characters in filename + fixed Bug that prevents to cache a different object with the same key