Fix pylint errors from recent btrfs commits.

(cherry picked from commit d3c0cdfca31e59bad99e7554a38a0b04e086597e)

Related: rhbz#1095866
Related: rhbz#1015072