fixes bug when file can not be opned
adds target for building command completion list for rlwrap