Fixed the string processing when persisting java.sql.Timestamp classes.
Bug #163.