raise an error for flock on solaris
Merge pull request #19 from schmurfy/solaris_flock

raise an error for flock on solaris