Stop modifying require.extensions in the top level.