make dependency diagram use tempfiles