Fix log folders permission

`mkdir` mode is modified by the current umask.