v4l2encode: use ifstream and ofstream instead of FILE
v4l2encode: use ifstream and ofstream instead of FILE

Remove usage of C FILE pointers.  C++ ofstream and ifstream
are more robust and safer.

01org/libyami#744

Signed-off-by: Kelly Ledford <45db2e60de6e7a9085c2872e163ca9ebee272a19@intel.com>

01org/libyami-utils,01org/libyami-utils,01org/libyami-utils,01org/libyami-utils