Fix is_writable call in generate:travis-yml command (check whether directory is writable, not non-existant file).