Make first component in path refer to photoset

Before, the photoset a pic ended up in was determined by its source path
alone. With this change, it can be overridden via the root path on the
flickr backend URI.