Rename variables not to use built-in function names

It was mentioned in https://github.com/python-imaging/Pillow/issues/666#issuecomment-43766610 that `len` is used as a variable name. There's also a `bytes` variable.

Rename them to something more sensible.