Remove temporary files on exit or cancel

As discussed in #127.