Media: also accept IOError