MBS-6569, use correct file extension in generated index.json.
MBS-6569, don't clobber existing my $size.
Merge pull request #6 from metabrainz/mbs-6569

MBS-6569, use correct file extension in generated index.json.