fixing edit-media link selector in update_from_io in file.rb