BUG: fix behavior of write_values() with empty string in scipy.io.netcdf

fixes #1592