dump_dir: introduce dd_copy_file()

Related to abrt/abrt#548

Signed-off-by: Jakub Filak <jfilak@redhat.com>