Fix maxFilesSize from overcalculating total files size

This fixes a bug where the total files size seen was over calculated, so the request would be rejected before actually reaching the limit.

Fixes #47