slightly more sane save directory

we have all.h

also use cstdlib