Clear dependency cache for file when an error is found, so it will always be rebuilt on the next run