switch some paste() to file.path()