Fixed D filesystem code.
Added D assert handler.