Added mode option for chmod on te unix socket file