[ticket/12741] Change the mode of the socket file

Since php 5.4.29, by default, php-fpm creates the socket with the 0600 mode instead of
0666.

PHPBB3-12741