fixed undefined index error when deleteting files and no 'dir' option is set
Merge pull request #2 from jlis/master

Fixed 'undefined index: dir' error when deleting files (i.e. on record update/delete) and no 'dir' option ist set.