affile: test_affile_open added
affile: file destination flags fixed

O_APPEND was missing from open DW_REOPEN_FLAGS

Signed-off-by: Budai Laszlo <lbudai@balabit.hu>