Remove check on source/dest file sizes. Fixes #4440.

I also made some changes (mostly in variable names) to comply with pylint rules.