Fixed data path in tests where tmpdir does not end with separator.