Make screencap image requests synchronous so that the client can know the file size before reading the entire file.