Resolves crash caused by non writable directory
Removed the lockfile mechanism
Merge pull request #54 from miszr/master

Resolves crash caused by non writable directory