title: simple require.extensions example not working
body: <p>module.extensions doesnt seems to be working properly, the example given on <a href="http://nodejs.org/api/globals.html#globals_require_extensions" rel="nofollow">http://nodejs.org/api/globals.html#globals_require_extensions</a> returns nothing.</p>
  
  <p>I m using node@0.8.12 | linux | ia32</p>
  
  <p>node js file (run.js):</p>
  
  <pre><code>#!/usr/bin/env node
  fs = require('fs');
  
      require.extensions['.jse'] = function(module, filename) {
        var content = fs.readFileSync(filename, 'utf8');
        module.exports = content;
      };
  
  require('./0.jse')
  
  // 
  console.log(require('./0.jse'))
  </code></pre>
  
  <p>jse file (0.jse):</p>
  
  <pre><code>#! /usr/bin/env node
  console.log('IT WORKS!')
  </code></pre>
  
  <p>$ ls -al *.jse *.js</p>
  
  <pre><code>-rwxr-xr-x 1 alvaro alvaro  46 dic  6 17:26 0.jse
  -rwxr-xr-x 1 alvaro alvaro 314 dic  6 17:32 run.js
  </code></pre>
  
  <p>file --mime *.js *.jse</p>
  
  <pre><code>run.js: text/plain; charset=us-ascii
  0.jse:  text/plain; charset=us-ascii
  </code></pre>
  
  <p>$ node run.js</p>
  
  <p>it outputs:</p>
  
  <pre><code>#! /usr/bin/env node
  console.log('IT WORKS!')
  </code></pre>
  
  <p>instead of:</p>
  
  <pre><code>IT WORKS!
  </code></pre>
  
  <p>whats wrong?</p>