Fixes for find_unmapped_histograms.py directory handling.