- Use "mkdir -p" to avoid errors when intermediate directories are
- Fall back to "dd" when "fallocate" fails. For example, fallocate isn't
supported on ext4.
- Add error checking for test image generation. Without this, the test
simply plows on spewing all kinds of errors which are hard to
Signed-off-by: Stephen Warren <email@example.com>