var fs = require('fs');
var path = require('path');
var os = require('os');
var aliens = require('./aliens.json');

module.exports = function () {
    var file = path.resolve(os.tmpdir(), 'meet-pipe-data.txt');
    var data = '';

    for (var i = 0; i < 10; i++) {
        var alien = aliens[Math.floor(Math.random() * aliens.length)];
        data += alien + '\n';
    }
    fs.writeFileSync(file, data);
    
    return { args: [ file ], stdin: null };
};

@@ -65,24 +65,61 @@
 uire('os');%0A
+var tmpdir = os.tmpdir %7C%7C os.tmpDir;%0A
 var aliens =
@@ -205,19 +205,16 @@
 resolve(
-os.
 tmpdir()

fix for 0.8