Merge pull request #1 from carrott/master

take the apt lock!
Code refactoring:- Changed tabs to spaces. Blacklist removes from apt indexes in one go (requiring only one lock operation).
small fix
invoke instance method correctly
don't modify file_in_mem as we rely on it still being a big string on the next iteration