Merge pull request #418 from agnat/fix_get_file_size_bug

[Bugfix] Actually invoke the user-supplied function instead of subtracting from a pointer...