Transcoding: Change to use string path instead of fd.

Bug: 145628554
Test: unit test

Change-Id: I321ecf75e770b4500fc3015a5d161e3b48ea5678
5 files changed