mod_filestore: fix problem with urls ending in a '/'