Appending a count for filenames that end up being duplicated by
sanitization. Addresses issue #46.