Cleans up after failed curl download

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>