Adds create/delete repository-path functionality to UI.
Calls fopen with "w+" mode, fixes some weird behaviors.