A building contractor from Wokingham has been prosecuted after a worker fell and punctured his lung while carrying out demolition work.