Make the generate SQL folder if needed

Change-Id: I886d129460dd75dfe0f6b901c2239688b94146a2