try and read file *before* deleting categories

Better safe than sorry : fopen() and exit if it fails *before* deleting categories, if 'force' option was used.
Merge pull request #1 from AlainBecker/master

try and read file *before* deleting categories