Work around positioning issues for large files

Just allocate enough buffer space. But, we need to do that properly one day...

Signed-off-by: Stefan Marr <git@stefan-marr.de>