filesink: Consider the current buffer size when checking the current position