Cfg: handle filenames with regex special characters properly