generalize pep8 check, prep symlinker function for folders