retain detected format in auto mode
Merge pull request #19 from smparkes/master

retain detected format in auto mode