Update rust-encoding

Closes #357