bin/sanedir: minor changes