Fix null termination of wsave_path.