Change text file extension.