Add keyword args to transform_flatfields. [1338]