Rename len variables as length to avoid the built-in function name.
Rename bytes variable as read_bytes to avoid the built-in function name.
Merge pull request #670 from hugovk/png_clean

Rename variables not to use built-in function names