User Defined Function to parse sequence files in Hive