Fixes for Python 3

Signed-off-by: Richard Borcsik <richard@borcsik.com>
Fix for file size not displaying corectly in 2.X

Signed-off-by: Richard Borcsik <richard@borcsik.com>