zpm: clean up comments in _generate_uploads

This reformats the docstring slightly and removes a misleading comment.
zpm: a more idiomatic way of stripping a file ext
Merge pull request #179 from larsbutler/minor-generate-uploads-fixes

Minor fixes to `_generate_uploads`