ws_fix_copy(): move the whitespace fixing function to ws.c