Change check_file_path() to use absolute server paths in case config paths start with /