Ensure sockets directory is created.