Specify that the popen4 is text and not binary. --> to head
darcs: _darcs/index: opening of '_darcs/index' failed: permission denied (Permission denied)