Merge "Use unique_fd instead of fd_t when managing profiles"