Extract distribution name and version from a distribution filename