Fix links to bogus non-downloaded files.
When we get a NoContent error for a file, not only do we need
to decrement itemnum and pagenum, but also remove the generated
filename from suburls since we didn't actually store a file by
that name.
Escape % in filenames with %25, so that filenames
with %20 get requested correctly.