[#670] Make sure that older media files have a known width/height

Data-cleaning

Fixes #670.
Merge pull request #911 from afuna/media-versions-dimensions-bug-670

[#670] Make sure that older media files have a known width/height