Fixes for Type::quote

* Only treat strings of hex digits as blobs
* Correctly handle `Date` and `DateTime`