Fixed checking validity of ->file
CS issues
Fixed typo
Merge pull request #4 from davidsteinsland/master

PidFile::releaseLock checks validity of $this->file