Some file doesn't have the modified_time attribute.

The problem is that in that case we cannot use the cache maybe we should add a warning to let the developer knows that he needs to implements the modified_time on his file object.