Fix #8 where a failed download nukes the directory contents (whoops)