Added auto creation/deletion of tmp/hpabst_db