Fixes error in output redirect syntax