the bytecode file wasn't created if there was a compile error so don't try to unlink it