Fix distributing typedbytes module when it's not installed as an egg

The existing condition didn't make sense if typedbytes was not installed
as an egg, since it would make Hadoop think the typedbytes module was on
HDFS. The new method is the same as what's in backends/common.