use savepv() instead of own _copy_str() hack