create parent dir for SQL dump if it does not exist