Fixed file size checking.

If we 'return true' from for loop then we never reach fileSizeLimit
checking part.
Merge remote-tracking branch 'upstream/master'
Merge pull request #254 from intoccabil/master

Fixed file size checking.