Fix bug in fsupload

Badchar analysis: file may contain form feeds.
Make {COUNT,SIZE}_MAX more readable

Good suggestion, @jlee-r7.
Land #2899, don't stop at the first \f