Set the umask before creating directories with specified permissions so the result is predictable. Fixed tests that started failing on upgrade to 16.10.
Set the umask before creating directories with specified permissions so the result is predictable. Fixed tests that started failing on upgrade to 16.10.

alesstimec/juju,anastasiamac/juju,AdamIsrael/juju,frankban/juju,waigani/juju,frankban/juju,bac/juju,anastasiamac/juju,reedobrien/juju,frankban/juju,mikemccracken/juju,mjs/juju,mjs/juju,reedobrien/juju,bac/juju,mikemccracken/juju,ericsnowcurrently/juju,alesstimec/juju,frankban/juju,mikemccracken/juju,anastasiamac/juju,marcmolla/juju,AdamIsrael/juju,AdamIsrael/juju,bac/juju,mjs/juju,ericsnowcurrently/juju,bac/juju,reedobrien/juju,alesstimec/juju,mjs/juju,waigani/juju,reedobrien/juju,marcmolla/juju,mjs/juju,ericsnowcurrently/juju,reedobrien/juju,AdamIsrael/juju,bac/juju,alesstimec/juju,marcmolla/juju,marcmolla/juju,mikemccracken/juju,frankban/juju,mjs/juju,mikemccracken/juju,waigani/juju,ericsnowcurrently/juju,ericsnowcurrently/juju,waigani/juju,alesstimec/juju,mjs/juju,anastasiamac/juju,marcmolla/juju,anastasiamac/juju