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

Notice that I also removed the function resolvePFNs, which I think is what is suggested in #4258.

I also made some changes (mostly in variable names) to comply with pylint rules.