use rlock in silence
silence: use __stdout__ and __stderr__
Merge pull request #513 from ndawe/master

[MRG] silence improvements