Security scanners like Bandit don't like anyone using mktemp (smmap/test/lib.py), so to silence them consider using other functions in tempfile.