Replaced unix-only function call
Merge pull request #64 from tvollstaedt/master

Fix for UNIX-dependency
Merge remote-tracking branch 'upstream/master'
Fix creating empty attribute when adding not indexed item