Only call the deletion of the file once.

  This updates #95.