use current-symlink to refer to git-shell.
only fail on remove, when file not exists.
delete key from authorized_keys-file correctly.
extract authorized_keys open into own method

Also lock the file while working on it.