Issue 49157 - ds-logpipe.py crashes for non-existing users
Description: Added try/except's for various OS function calls, as the tool
should gracefully exit when there is a problem and not crash
https://pagure.io/389-ds-base/issue/49157
Reviewed by: firstyear(Thanks!)
(cherry picked from commit 28e4be01a7be5c8b5bed85dc847cf65329449dd1)