fix bug in generating webhdfs keytab files.