create output directory if does not exist