Improved FileDescriptor with errno.h

Fix no new line at end of file