Another check to ensure the main index.php doesn't get deleted when managing attachment directories (per #899)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>
Merge pull request #1325 from Oldiesmann/release-2.1

Another check to ensure the main index.php doesn't get deleted when mana...