Redirecting name space prints to stderr for debugging

Change-Id: Ia9dd6fc9007ff66e5eab43ee0fe7e9668fe3bf5c