RAZ-2866: Remove lucene.lock file if older than a day
- Modified to use getfileinfo function instead