debug_dir: fix case filtering.