Add exclude_fnames option to PseudoParser.scan_directory