What about if the dataste is so large that it exhausts all the disk in /tmp? Maybe an early calculation should be done before this operation (or, at least, capture the error an raise a message if the -get command fails).