Revive support for params being File objects