Wrap python call in an alarm/timeout
Fix bug in python output dir

Was passing incorrect output dir argument from Perl.