BUG: writing invalid table names to sqlite
I verified that the test exposes the bug prior to the fix for bug #13206.

Pandas from master
```
>>> import sqlite3
>>> import pandas as pd
>>> import numpy as np
>>> conn = sqlite3.connect(':memory:')
>>> df = pd.DataFrame({'A': [0, 1, 2], 'B': [0.2, np.nan, 5.6]})
>>> df.to_sql('d1187b08-4943-4c8d-a7f6-6c06b7cb9509', conn, index=False)
>>> 
```

Pandas 0.13.1
```
>>> import sqlite3
>>> import pandas as pd
>>> import numpy as np
>>> conn = sqlite3.connect(':memory:')
>>> df = pd.DataFrame({'A': [0, 1, 2], 'B': [0.2, np.nan, 5.6]})
>>> df.to_sql('d1187b08-4943-4c8d-a7f6-6c06b7cb9509', conn, index=False)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Projects\Sprints\PandasVirtualEnvLatest\PandasVirtualEnvLatest\oldpy27\lib\site-packages\pandas\core\frame.py", line 1261, in to_sql
    self, name, con, flavor=flavor, if_exists=if_exists, **kwargs)
  File "C:\Projects\Sprints\PandasVirtualEnvLatest\PandasVirtualEnvLatest\oldpy27\lib\site-packages\pandas\io\sql.py", line 226, in write_frame
    cur.execute(create)
OperationalError: near "-": syntax error
>>> 
```
