alpm_pkg_meta_t filename should always be just the filename
replace fts for dirent
make filename calculation function
use pkg_real_filename in a few more places
restore handling list of packages on -U
oops: forgot return
fix db generation code
Merge branch 'devel'

* devel:
  fix db generation code
  oops: forgot return
  restore handling list of packages on -U
  use pkg_real_filename in a few more places
  make filename calculation function
  replace fts for dirent
  alpm_pkg_meta_t filename should always be just the filename