So I click Edit instead on WinSCP, and it opens the file up in Sublime Text 3.
However, when I try to save it, it fails to find the temporary folder to store it in. It gives this error:
Unable To Save
Error: The system cannot find the specified path.
However, opening up a PHP file works fine. Not 100% sure what's causing it.