Revert "Fix segfault related to huge files mapping"

This reverts commit 56ba4a03ba59105fc4b180e357281eb45c76ee1c.