BUG: Fix clongdouble type in scalar type selection
BUG: Return early on error for string to datetime transfer

This is the usual way for transfer functions which require
the API, and here fixes a use before init bug.