bug fix: rhive.write.table