Don't keep temporary PPM files around.
C++? In my Rust?