Generalize 'WipeDevice' to 'DumpDevice'
* Fix order of imports * Generalize 'WipeDevice' to 'DumpDevice' which takes an additional argument which is the data source. This will allow this function to be reused for both wiping and imaging disks in a future patch. * Update error messages in order to be consistent with the error messages about imaging disks, which will be introduced in a future patch. Signed-off-by: Jose A. Lopes <firstname.lastname@example.org> Reviewed-by: Hrvoje Ribicic <email@example.com>