improve warning
fix looking up a file in a non-dir; fixes #2552
do not set EMCC_DEBUG=1 when -v; fixes #2538