When writing performance sampling data, respect the PHYSFS write dir.
Patch by vexed, closes ticket:4098.