Basically makes it work

Hi, 

I was seeking for a plain and simple double forked daemon python module, and found yours. Though it's pretty elegant and really really simple, just what I was looking for, it just didn't worked.

I had to fix a few things. Now it's fully working for me. Hope it helps.

If you accept this pull request, would you please update the version on pypi too please?

PS: As of now, I will just copy the fixed module into [Elevator](http://github.com/oleiade/Elevator) to use it (Mit license too) with mention to your copyright on it. And will use your module as a `setup.py` dependency as soon as it's uploaded to pypi.

Thanks!