Check output directory and only create if it doesn't exist