Error when reading attachment - one byte overhead?