Rename bytes variable as read_bytes to avoid the built-in function name.