added recursively_remove_empty_directories to common utils