[OS X] Write image to .app instead of root