Fix count_files method.
The get_card() method throws a CardNameError, not KeyError.
Fix references to CardNameError