added check against empty executable path directory name (if executable is in $PATH)
fixed bug in format causing the last byte of 64 char long strings to be chopped off.
fixed extension extraction for files starting with '.', added copy_file function
Merge branch 'master' of github.com:otherlab/core