Fix handling binary responses