#1048 added logic to chmod 644 php files after update