EDIT: I solved the issue by letting the phone die, I turned it back on and it booted as usual, I checked root explorer and the file was back, so hopefully this thread will be useful to someone else in the future, considering I spent a good hour on google before posting.