xxdrp & calculate_hash fixes

It was little mistake in previous xxdrp realization. Now it works fine and optimized (using coreutils power).

Also ```cut -d " " -f 1``` in calculate_hash() should be few pipes earlier.

Now it looks like a charm :D