fix for internal media urls after re-saves; corrected for non-Latin internal media names