Store generated xpis in tmp directory for run/tests

Fixes #84