fallocate is faster than using dd to create a thick swapfile with
zeros, but it is not supported on all filesystems (specifically ext3).
This commit adds a fallback to using dd if fallocate fails
Closes-Bug: #1458841
Change-Id: Ie4adf625d85f84a0d89a108ef0438622ab763b9d