rpm: Clean up Berkeley DB downloading and unpacking