Settings maxFiles to 0 works now.

#changelog fixes #368