Feat/sys posix

I fixed some potential issues in the Linux-specific system utilities and refactored some on the way:

 - Check return values of system calls
 - Allocate buffers for return values dynamically with the necessary size instead of statically
 - Pass correct buffer size to system calls (with or without final null character)
 - Avoid `system(3)`