Fixed build image montage func.
Fixed build image montage func.

It said to say the number of rows, but it is actually the number of
columns.

Also added a check to make sure the output file doesn't already exist.

hallzy/dotfiles,hallzy/dotfiles,hallzy/dotfiles,hallzy/dotfiles