More fixes for easyXDM file protocol bug.