Set filesize limit for inline files.

From #3185.