Fix SQL errors when using a blob as a search criterion (Fix #243)

A byte array shouldn't have a parameter for each byte. Just treat the entire blob as a single object.