Relocate output directory checks to parse_options()