Support cancel build action.
Use EFS instead of java.io.File.