rename text file, apply path.join for multiplatform path making