@morgyface: Thanks 🙂
@bcworkz: this is awesome. I figured out earlier today that the filenames were being read from the post meta section but never thought of converting the string using a wordpress function, Was about to spend a few hours writing a script to change all the serialized strings, which was looking tricky! Thanks so much.