minor changes to wordlist export function