Use absolute paths to the files to ignore

This fixes an issue where index.php within a theme directory would be ignored, when the intention was to just ignore the index.php file in the root.