attempt to rmdir when chapter download fails