libbladeRF: [WIP] Added file_ops.c/h

Common file operations will be tucked in here to allow them to
be easily dummied out for NIOS build without making a mess of
bladerf.c.