Create an output directory unless it exists