Correct memory mapped file size for generic plugin