Convert to ubyte dtype explicitly