Removed misleading "broken pipe" messages in genpasswd function