Add support for creating a swapfile