Mime interceptor handles bad deserialization

Fixed a bug with the mime interceptor where if there was an error during
deserialization, the response promise would never get resolved or
rejected, leading to a forever "pending" promise.