Use cross-platform /dev/null file

Issue raised in this Stack Overflow question:
http://stackoverflow.com/questions/17602148/how-to-deploy-cloudfoundry-to-aws

Answer from here:
http://stackoverflow.com/a/8682009/126042