Fixed smudge so that a partially downloaded or emtpy chunk gets deleted from the cache if there was an exception while downloading it.