Add exception guard around File.delete as it may have already been deleted by the other process