Windows: Don't attempt to copy a string to a zero length buffer