stream.akamaihd: Raise correct exception on error.