fix console overwrite any file
fix console overwrite any file

Prevent to specify a file not belonging to us as the output for the console

Signed-off-by: Daniel Lezcano <3211518dd4d87cb3f7ee12cb52e14b7fb2bc0446@fr.ibm.com>

armcc/lxc,smoser/lxc,virajs/lxc,Distrotech/lxc,Ponce/lxc,abstrakraft/lxc-android-lxc,abstrakraft/lxc-android-lxc,usc-isi/lxc,QingweiPeterLan/cs188-lxc,christiaan/lxc,hallyn/lxc,jirislaby/lxc,ss1h2a3tw/lxc,Pelagicore/lxc,abstrakraft/lxc-android-lxc,Ponce/lxc,ss1h2a3tw/lxc,ojkastl/lxc_Patches,GreatFruitOmsk/lxc,szaszg/lxc,JohnPeacockMessageSystems/lxc,armcc/lxc,virajs/lxc,potatosalad/lxc,fwilson42/lxc,hfuCN/lxc,glensc/lxc,hkjolhede/lxc,rldleblanc/lxc,hkjolhede/lxc,jirislaby/lxc,christiaan/lxc,ysbnim/lxc,ioops/lxc,efiop/lxc,ecarrara/lxc,hallyn/lxc,caglar10ur/lxc,terceiro/lxc,weizhenwei/lxc,terceiro/lxc,tych0/lxc,potatosalad/lxc,DarknessBeforeDawn/lxc,glensc/lxc,aeris/lxc,christiaan/lxc,akshaykarle/lxc,raspberrypython/lxc,smoser/lxc,cjwatson/lxc,rowhit/lxc,LynxChaus/lxc,hfuCN/lxc,fwilson42/lxc,szaszg/lxc,ysbnim/lxc,bostjan/lxc,glensc/lxc,Pelagicore/lxc,virajs/lxc,ysbnim/lxc,usc-isi/lxc,rowhit/lxc,regit/lxc,coconutpilot/lxc-gentoo-new,kylef/lxc,caglar10ur/lxc,smoser/lxc,coconutpilot/lxc-gentoo-new,abstrakraft/lxc-android-lxc,armcc/lxc,szaszg/lxc,codebauss/lxc,sapun/lxc,bmoar/lxc,codebauss/lxc,raspberrypython/lxc,lisongmin/lxc,ksperis/lxc,aeris/lxc,GreatFruitOmsk/lxc,tych0/lxc,akshaykarle/lxc,cjwatson/lxc,bostjan/lxc,bmoar/lxc,bostjan/lxc,yubo/lxc,smoser/lxc,thmo/lxc,regit/lxc,ecarrara/lxc,cjwatson/lxc,bmoar/lxc,inokappa/lxc,federicobriata/lxc,ss1h2a3tw/lxc,ksperis/lxc,thmo/lxc,ioops/lxc,efiop/lxc,lisongmin/lxc,hfuCN/lxc,inokappa/lxc,weizhenwei/lxc,hallyn/lxc,JohnPeacockMessageSystems/lxc,GreatFruitOmsk/lxc,sapun/lxc,usc-isi/lxc,ioops/lxc,thmo/lxc,yubo/lxc,ojkastl/lxc_Patches,kylef/lxc,codebauss/lxc,lisongmin/lxc,major/lxc,regit/lxc,major/lxc,Ponce/lxc,federicobriata/lxc,rldleblanc/lxc,DarknessBeforeDawn/lxc,federicobriata/lxc,tych0/lxc,lazy404/lxc,sapun/lxc,Distrotech/lxc,ojkastl/lxc_Patches,rldleblanc/lxc,weizhenwei/lxc,Distrotech/lxc,aeris/lxc,QingweiPeterLan/cs188-lxc,Pelagicore/lxc,fwilson42/lxc,jirislaby/lxc,LynxChaus/lxc,yubo/lxc,caglar10ur/lxc,efiop/lxc,ecarrara/lxc,ojkastl/lxc_Patches,QingweiPeterLan/cs188-lxc,lazy404/lxc,rowhit/lxc,DarknessBeforeDawn/lxc,LynxChaus/lxc,JohnPeacockMessageSystems/lxc,lazy404/lxc,major/lxc,ksperis/lxc,hkjolhede/lxc,ostap/lxc,akshaykarle/lxc,raspberrypython/lxc,ostap/lxc,terceiro/lxc