Rewrite all moodle_url so they use a consistent format.