[pacman-dev] [PATCH 6/6] lib/dload: extract tempfile creation to its own function