Fixes #19. Can now beautify new files that have not been created/saved.