Fixes imwrite, and imshow now works on OS X
Merge branch 'master' of github.com:JuliaLang/julia
Merge pull request #2432 from rsrock/master

Fixes to imwrite and imshow