allow adding a custom prefix to file package downloads, so they can happen from a different url; fixes #2049