use xalloc
Merge pull request #146 from ronnychevalier/rc/xalloc

Use xalloc everywhere
remove redundant file exists check

TOCTOU

This check is already done when cmdline_parser try to open the file