Make sure to remove temp file on exit