fixed bug where getting file sub path from start dir wouldn't work on
windows