make File::set Label thread safe