Bumps version and tweaks temp file deletion