refactored private key import to use useful chunk sizes with command chaining.