fixed some bugs, next up: write file
finished byte-skipping implementation, but since length values for parent TLVs are wrong, this approach is flawed, will probably have to write a writeTLV function which writes an updated TLV to a file...