Ruby program to process an Apache log file in combined format and write the fields to a sqlite database