Fixing salt.modules.file.makedirs to append a trailing slash in end

Fixes: https://github.com/saltstack/salt/issues/14019#issuecomment-49046113