fix irepl with sha256

git-svn-id: svn://irodssvn.ucsd.edu/trunk@5658 ea137bd6-aa86-47b6-b90d-b101d9f19a90
some refactoring to make code style consistent for different icommand code paths

git-svn-id: svn://irodssvn.ucsd.edu/trunk@5659 ea137bd6-aa86-47b6-b90d-b101d9f19a90