Adding an option to preserve resource paths for certain resource directories. In reference to: #743, #773.