Enhancement of Critical Currents and Photon Count Rates by Magnetic Field in Spiral Superconducting Nanowire Single-Photon Detectors