Fixes issue #156

Im am considering if this actually poses a security threat. 

    file_put_contents('/tmp/pmsgr',"die\n");

I tried this inside PHP but got back:

[07-Aug-2014 14:15:35] WARNING: [pool web] child 27 said into stderr: "NOTICE: PHP message: PHP Warning:  readfile(/app/vendor/nginx/conf/nginx.conf): failed to open stream: Permission denied in /app/index.php on line 19"

I'd probably suggest to avoid pipes entirely by a technique like this one: http://stackoverflow.com/a/9894126/204819