Added OutputRedir with optional fd