fs: new function fs_set_mkdir_mode

Change-Id: I504a3bd5a75b9f34e445dbefeab891bbbbde8a70
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>