Replace abc::file_path::data() with abc::file_path::os_str()

The new method allows to generate a temporary string, which is needed for Win32.
Delete accidental duplicate definition