Improve find-file-size to be cross platform