Use symbolic names for standard file descriptors.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>