Invalidate cache entry on write block since mtime will change