Fix some warnings.

Hi Joey,

this commit fixes some warnings in recent perls. I could swear there were some warnings in the bzr Plugin but I cannot find them now. All existing tests pass.

Regards,

-- Shlomi Fish