I managed to solve this using a hackish solution suggested in this linked post. (It took me 30 minutes to figure I should stop the site first before issuing the rm command. I deleted the file it it would be right there again. I thought I was going crazy),