Don't do an in-place rejection of file names ending with a dot.

[#46649381]
Fix .rvmrc