HostContext.readResource now returns Array[Byte]