Security camera footage from Brazil shows how a hapless bank robber was quite literally the architect of his own downfall.