python: remove unnecessary mkpath
python: prune caveats a bit