Partially fix build with rust master

Still broken (lifetime issues): ~~expand~~ fmt ~~hashsum~~ tee ~~unexpand~~ ~~uniq~~ ~~wc~~.