Bug 826492 - Use 'is' instead of '==' when checking path parts in DeviceManager.mkDirs(). r=wlach