Refactor the fallocate call.

@sueloverso, here's a (very lightly tested) branch to refactor the fallocate call.
Agreed, fixed & pushed.