CVE-2019-3870 pysmbd: Move umask manipuations as close as possible to users