Fix bug and some pep8 issues in bagit module
Fix bug and some pep8 issues in bagit module

miloh/spreads,nafraf/spreads,nafraf/spreads,miloh/spreads,miloh/spreads,DIYBookScanner/spreads,nafraf/spreads,DIYBookScanner/spreads,DIYBookScanner/spreads,gareth8118/spreads,gareth8118/spreads,gareth8118/spreads