Hotfix to allow brackets in filenames like "imgcopy(1).jpg" for image previews