minor fixes to --out option