Small improvements.

- Test close wrapper so we can clean up after ourselves in the future.
- Create the path directory before we try to mmap() a file in it
Fix compilation errors.
Better filesize function.
Remove superfluous and wrong cast.
Guess I didn't push my code last night?
Truncate file to correct size.
Merge branch 'mmap_redo' of github.com:infoforcefeed/Project-Oleg into mmap_redo

Conflicts:
	src/oleg.c