Check that output directory is writeable before proceeding