Fixed a bug where the URI buffer didn't get reset, preventing reliable sequential accesses.