[FIX] Using umask in mason2.
[FIX] Using module random in test_index_creation.h.