Depositions are a routine part of litigation, but they are not without risk.