Add a test utility which efficiently recreates paths read from stdin. Signed-off-by: Zach Brown <zab@versity.com>