Fix bugs with permissions on devstack module to create local.sh