Polynomial invariants of non-locally-flat knots