Avoid multipart dos

We encountered issues with users uploading thousands of small files which resulted in exhausted file descriptors on the server triggering weird issues everywhere.

We believe this could be a nasty DOS vector.

Regards.

cc @orenmazor.