Make max number of swapfiles configurable