fixes file url in Mongo