io: filesystem: Add fileSize()

Function to get size of file, using native functions, instead of
seek/tell combination.