Set image output directory to a separate temporary directory so we can use a ram disk to save disk rattling.