Fixed printf signedness of file offsets.
Fixed large file support and printf handling.