I had a similar issue when I tried to fix my signature (the gap in between the bottom line of text and the spoiler bothers me), and everytime I tried to save it, it gave me an invalid file error. I think it resolves itself, because it may have something to do with the host site not functioning properly.