OS-2211: Change the default metadata sock permisisons.

Change the file permission to be 0700 after the socket is created.