Fix special char in filename for LocalStorage