Add ability to specify output directory for split files