Use file stem when parsing cached wheel names (#7773)
## Summary
I noticed that we were including `http` (the file extension) in the
platform tags when reading from the cache:

Probably harmless, but wrong.