create output directory if it does not exits