Directory nesting isn't respected when linking scripts and styles as tempfiles