On exterior calculus and curvature in piecewise-flat manifolds