[os] FileInfo wrappers and tests

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>