error -37 bdNamErr: there may be no bad names in the final system!
Well there are two possible options to fix this issue. If you are still under warranty do not be panic simply visit Apple Genius Bar and they will fix this for you. Otherwise you have to fix yourself and you need to switch off antivirus and firewall and restore after disabling FW and AV. It should work. Also try on a different computer.
If you have a developer account with apple and try to install iOS latest version i.e the available beta version via Apple Developer Kit. Hope this should work.