update PHP sessions stuff

Update session files and dirs maintenance script: allow to ignore permissions and other errors