Correct a bug when binding strings to prepared statements.

Fixes #52