P2P and Cloud: A Marriage of Convenience for Replica Management