fixed workflow data dir path

thanks to @chrisrichards
fixes #28
php 5.3 compat

refs #27