Improved file extension handling on copy/rename (TUI-1)