Update dependencies

Update docopt and encoding to fix build with rust master.