fast-{import,export}: use get_sha1_hex() to read from marks file