Implement method IOUtils::fileSize
Optimize includes
ResourceInputStream implementation for iOS and OSX