Add ability to specify location of pid file
python earlier than 3.0 requires indices to be specified with format
Merge pull request #11 from CheeseTheMonkey/pid_changes

Add ability to specify location of pid file