Suggestion:  Help alleviate my OCD suffering!

    ...
    star = glob.glob(os.path.join(TMP_DIR, "*"))
    dots = glob.glob(os.path.join(TMP_DIR, ".??*"))
    for path in star + dots:
        ...

:D