fix for not using --keyfile specified in an options file