change return value of CreateAndExcuteEncodeJob to string so CreateAndExcuteEncodeJob will return actual output directory.