Fix dotfile permission issues