use tee to redirect stream to file when creating selfsigned magento keys