Load CoffeeScript when using a custom resource path

Load CoffeeScript early whenever the resource path a subdirectory
from process.resourcesPath

Close #3993