scripts: add -N option to mkhash for printing without newline