Fixes #30

Ensure that filenames for templates are safe to be opened and wont shell expand to multiple file names
Use vim function for escaping filenames
Also fix TLoadCmd

This was also affected by #30. To fix, the common code between
TLoad and TLoadCmd was unified.
Merge pull-request from muff1nman to fix filename expansion

Fixes #30