Train driver averts bombing attempt in Pakistan