Fixed response data encoding in the /img/* requests.