More 0.13 upgrades

* index int's -> uint's
* index into &str with .as_bytes[i] instead of [i] (does this break unicode?)