SERVER-16086 Should not open the Unix Domain Socket if the chmod fails

Closes #871

Signed-off-by: Benety Goh <benety@mongodb.com>