Fix memory leak in fs.readdir
Ensure that abbreviations in console's '=...' output appear on newline if needed
Add String.replace (fix #334)