Switched exception on scalar length error in libdynd (Fixes #49)