Fixed errors in PHTDataFile that would not allow writing even if the
file existed. The PHTDataFile constructor now creates the directory and
file if they don't exist. If they already exist, it leaves them how they
are.