applied patch from https://bugs.debian.org/726638 for files with spaces