Refactor file writing tests
Fix return values in GitlabKeys
Stub file writing in tests
Merge branch 'gitlab_keys_return_values' of /home/git/repositories/gitlab/gitlab-shell