Escapes database name in creation query