[php:LocalFileSystem] check result of the file saveing

May be solved #891.