Ouput errors to stderr. Print location of malformed dir if needed.