Creates railtie file