accommodate absolute paths in formatForOS()
Merge pull request #784 from craigh/Ticket782

accommodate absolute paths in formatForOS()