Fixed the case for opening dotfiles so it knows what comes after the dot (like vimrc or bashrc) isn't an extension, but a name