Fix bug preventing new files from being created at the project root