remove_subtree(): Use strerror() when possible