Fixed Errors

Fixed depency in libyaaf
Fixed eof case where the file size is less than the buffer