Back to SNAPSHOT
Added MacOS compatibility (mktemp needs template).