Improved file safety when re-running install.php.