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

Data-cleaning

Fixes #670.