Add support for paths without trailing separator in TemporaryFile
Merge pull request #300 from easybe/tempfile

Make TemporaryFile append a slash to tempDir