cleanname from inferno

Signed-off-by: Ronald G. Minnich <rminnich@google.com>