Fix filelock: use current umask for filelock >= 3.10
reported in https://github.com/huggingface/evaluate/issues/542

cc @stas00 @williamberrios

close https://github.com/huggingface/datasets/issues/6589