bugfix: imfile "facility" input parameter improperly handled

caused facility not to be set, and severity to be overwritten with
the facility value.
Thanks to forum user dmunny for reporting this bug.