Use a finally block to delete temp files created by MavenArtifact.getFile.