Fix off-by-one type errors in Form and PartialFileResponder