Update to make it work with the latest rust compiler

Reading a file now returns a StrBuf instead of a ~str