- don't write out files that were not hashed

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
- convert to/from little endian when writing/reading hash files

Signed-off-by: Mark Fasheh <mfasheh@suse.de>