Explicitly set permissions on the server instance directory with chmod, so that permissions are correct on systems with a non-default umask. Fixes issue #928.