Implementing symlinks by copying files.

Also simplified a function in entrypoint.dart.

R=tapted@chromium.org

Review URL: https://codereview.appspot.com/49520043