fixed bug when trying to read a task file and no permission
Merge pull request #24 from kforner/fixes

fixed bug when trying to read a task file and no permission