Add dtype to LazyArray.

Hopefully fixes #1280.