Hadoop 1.0.X throws FileNotFoundException on delete()

I had to wrap the delete() call because hadoop is now throwing a FileNotFoundException.

try{
        fs.delete(tmpIndexPath, false);
    }catch(FileNotFoundException ignored){}

    try{
        fs.delete(realIndexPath, false);
    }catch(FileNotFoundException ignored){}