Return the requested version in serveFlavor

Instead of always returning the latest version. This fixes a problem where the content-length of the URL changes while the CDN is pulling the file, causing the CDN to return error 404