Buckle formation in vacuum-deposited thin films