Rewriting coreutils to become better at C