driver: serial: Add file based IO stub

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>