Rename file extensions 'txt' to 'm'