affile: remove the use of flags for storing values of various options

The AFFILE_XXXX flags make the code more difficult to read and easier
to make mistakes. This patch gets rid of them.

Signed-off-by: Balazs Scheidler <bazsi@balabit.hu>