Make sure to remove temporary files on exit