Turn SFTPFile into a context manager

Allow instances of SFTPFile to be used in `with` statements by turning it into a context manager.