test absolute file paths in a cross-platform way