accept directories as external paths
ignore line feed differences (makes tests run on windows)
Merge pull request #49 from smhg/master

support directories as value for external parameter