Try to create output directory before moving files