Don't try edit dired buffer as root
Fix indentation
Merge pull request #310 from lukerandall/dont-sudo-dired

Don't try edit dired buffer as root
Upstream changes