Import hpy only if guppy is available
Fixed encoding