* rhive.write.table() - code refactoring