Fixed output writing for various tables
fixed issue where calling bamliquidator tried to create the same output directory multiple times