Make file distribution among several disks configurable

Fixes #2650