bzr: Changed bzr tests for windows compatibility

This PR patches the bzr package for compatibility on Windows, taking into account the different home location.
Don't do this. Have a top level constant for the bazaar configuration directory that varies by OS, then use os.MkdirAll to create it here.