* Issue #338 Fix for Dir.foreach