Replace STDERR calls with wfWarn

Change-Id: If982af60bb4d1c54bcb4913dc834dc1785a75538