Fixed file extension bug in ImageCardCollector.