ENH: read_csv dialect parameter can take a string (GH8703)

closes #8703

check if isinstance(dialect, compat.string_types)