MDL-62240 file: Add includehash to shorten_filename + unit tests