Modifies filenames which do not start with '/' or '.' on non-Windows platforms; uses _fullpath on Windows.