While you’re in the explorer/sidebar you can rename a file by selecting it and pressing
Enter
You might normally assume that pressing enter would open the selected file, but in this case it is used to rename the file. To open the file you must use
Cmd
+ Down
Â