pin: Replace invalid chars with _ in file names.

This needs to be merged for #259 to work.
Merge pull request #260 from daenney/zomg-ze-chars

pin: Replace invalid chars with _ in file names.