Fixes digitize

Add digitize() to fixes for old bumpy versions @agramfort @Eric89GXL
I'd rather throw an error if the dtype is wrong. Probably worth doing in a separate PR, there might be other places we want it, and we want this fix in ASAP to make Jenkins happy.