Bug 988410 - Move directory service calls onto MainThread. r=bent