using safe string functions in wine