Improved the cleanup process for the temporary files we create in the integration tests