fix reported traffic in bytes from Python nodes

Addresses #501.

@tfoote @wjwwood Please review.

@forouher @mrdanbrooks FYI