added hack to make external references always use the safe '/' file
separator